<?php if ($this->pageCount) { ?>
	<?php if (isset($this->previous)) { ?>
	<span class="page-no"><a href="<?php echo $this->url(array('page' => $this->first));?>">«</a></span>
	<?php } else {?>
	<span class="page-no cur-page">«</span>
	<?php
	}
	
	foreach ($this->pagesInRange as $page) {
		if ($this->current == $page) {
	?>
	<span class="page-no cur-page"><?php echo $page;?></span>
	<?php } else {?>
		<span class="page-no"><a href="<?echo $this->url(array('page' => $page));?>"><?php echo $page;?></a></span>
	<?php
	} }
	
	if (isset($this->next)) {
	?>
		<span class="page-no"><a href="<?echo $this->url(array('page' => $this->last));?>">»</a></span>
	<?php } else {?>
		<span class="page-no cur-page">»</span>
	<?php } ?>
<?php } ?>
